[INFO] cloning repository https://github.com/sg-benchmarks/teleport--7744f72c
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sg-benchmarks/teleport--7744f72c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsg-benchmarks%2Fteleport--7744f72c", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsg-benchmarks%2Fteleport--7744f72c'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7744f72c6eb631791434b648ba41083b5f6d2278
[INFO] fixing sg-benchmarks/teleport--7744f72c against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsg-benchmarks%2Fteleport--7744f72c" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  80% (2483/3073)
Updating files:  81% (2490/3073)
Updating files:  82% (2520/3073)
Updating files:  83% (2551/3073)
Updating files:  84% (2582/3073)
Updating files:  85% (2613/3073)
Updating files:  86% (2643/3073)
Updating files:  87% (2674/3073)
Updating files:  88% (2705/3073)
Updating files:  89% (2735/3073)
Updating files:  90% (2766/3073)
Updating files:  91% (2797/3073)
Updating files:  92% (2828/3073)
Updating files:  93% (2858/3073)
Updating files:  94% (2889/3073)
Updating files:  95% (2920/3073)
Updating files:  96% (2951/3073)
Updating files:  97% (2981/3073)
Updating files:  98% (3012/3073)
Updating files:  99% (3043/3073)
Updating files: 100% (3073/3073)
Updating files: 100% (3073/3073), done.
[INFO] started tweaking git repo https://github.com/sg-benchmarks/teleport--7744f72c
[INFO] finished tweaking git repo https://github.com/sg-benchmarks/teleport--7744f72c
[INFO] tweaked toml for git repo https://github.com/sg-benchmarks/teleport--7744f72c written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sg-benchmarks/teleport--7744f72c on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sg-benchmarks/teleport--7744f72c already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 062a58f2ab2f8e9cba4e374e42685a89f57efd038c04dfb34a95f70a5c321a23
[INFO] running `Command { std: "docker" "start" "062a58f2ab2f8e9cba4e374e42685a89f57efd038c04dfb34a95f70a5c321a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "062a58f2ab2f8e9cba4e374e42685a89f57efd038c04dfb34a95f70a5c321a23" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "062a58f2ab2f8e9cba4e374e42685a89f57efd038c04dfb34a95f70a5c321a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "062a58f2ab2f8e9cba4e374e42685a89f57efd038c04dfb34a95f70a5c321a23" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating lib/srv/desktop/rdp/rdpclient/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling libm v0.2.2
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking base64ct v1.5.1
[INFO] [stderr]    Compiling semver v1.0.10
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking const-oid v0.7.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]     Checking zeroize v1.5.5
[INFO] [stderr]     Checking nom v7.1.1
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]    Compiling os_str_bytes v6.2.0
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling oid-registry v0.6.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling cbindgen v0.24.3
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling heapless v0.7.14
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking smallvec v1.8.1
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling delog v0.1.5
[INFO] [stderr]     Checking spin v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking time v0.3.13
[INFO] [stderr]     Checking crypto-bigint v0.3.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking data-encoding v2.3.2
[INFO] [stderr]     Checking cipher v0.4.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]    Compiling clap v3.2.14
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking md4 v0.8.0
[INFO] [stderr]     Checking md-5 v0.8.0
[INFO] [stderr]     Checking rc4 v0.1.0
[INFO] [stderr]     Checking der v0.5.1
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking gethostname v0.2.3
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking yasna v0.3.2
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking iso7816-tlv v0.4.2
[INFO] [stderr]     Checking uuid v1.1.2
[INFO] [stderr]     Checking utf16string v0.2.0
[INFO] [stderr]     Checking iso7816 v0.1.0
[INFO] [stderr]     Checking rusticata-macros v4.1.0
[INFO] [stderr]     Checking spki v0.5.4
[INFO] [stderr]     Checking pkcs8 v0.8.0
[INFO] [stderr]     Checking pkcs1 v0.3.3
[INFO] [stderr]     Checking rsa v0.6.1
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling asn1-rs-impl v0.1.0
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling asn1-rs-derive v0.4.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking thiserror v1.0.32
[INFO] [stderr]     Checking asn1-rs v0.5.1
[INFO] [stderr]     Checking der-parser v8.1.0
[INFO] [stderr]     Checking x509-parser v0.14.0
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling num_enum_derive v0.4.3
[INFO] [stderr]     Checking num_enum v0.4.3
[INFO] [stderr]     Checking rdp-rs v0.1.0 (https://github.com/gravitational/rdp-rs?rev=82bcc2d971a336f1550968c9aa617adb03deb2f1#82bcc2d9)
[INFO] [stderr]    Compiling rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient)
[INFO] [stderr]    Migrating lib/srv/desktop/rdp/rdpclient/build.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating lib/srv/desktop/rdp/rdpclient/src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.50s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient) updating edition from 2018 to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/lib.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     Tcp(IoError),
[INFO] [stdout]     |     --- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConnectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 214 -     Tcp(IoError),
[INFO] [stdout] 214 +     Tcp(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     Rdp(RdpError),
[INFO] [stdout]     |     --- ^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConnectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 215 -     Rdp(RdpError),
[INFO] [stdout] 215 +     Rdp(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormatListResponsePDU` is never constructed
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 753 | struct FormatListResponsePDU {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:394:45
[INFO] [stdout]     |
[INFO] [stdout] 394 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ClipboardPDUType`
[INFO] [stdout] 395 | #[allow(non_camel_case_types)]
[INFO] [stdout] 396 | enum ClipboardPDUType {
[INFO] [stdout]     |      ---------------- `ClipboardPDUType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:394:60
[INFO] [stdout]     |
[INFO] [stdout] 394 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                                            ^----------
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            `ToPrimitive` is not local
[INFO] [stdout]     |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClipboardPDUType`
[INFO] [stdout] 395 | #[allow(non_camel_case_types)]
[INFO] [stdout] 396 | enum ClipboardPDUType {
[INFO] [stdout]     |      ---------------- `ClipboardPDUType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:724:45
[INFO] [stdout]     |
[INFO] [stdout] 724 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ClipboardFormat`
[INFO] [stdout] 725 | enum ClipboardFormat {
[INFO] [stdout]     |      --------------- `ClipboardFormat` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:724:60
[INFO] [stdout]     |
[INFO] [stdout] 724 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                                            ^----------
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            `ToPrimitive` is not local
[INFO] [stdout]     |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClipboardFormat`
[INFO] [stdout] 725 | enum ClipboardFormat {
[INFO] [stdout]     |      --------------- `ClipboardFormat` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/mod.rs:2067:24
[INFO] [stdout]      |
[INFO] [stdout] 2067 | #[derive(Debug, Clone, ToPrimitive)]
[INFO] [stdout]      |                        ^----------
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        `ToPrimitive` is not local
[INFO] [stdout]      |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClientNameRequestUnicodeFlag`
[INFO] [stdout] ...
[INFO] [stdout] 2071 | enum ClientNameRequestUnicodeFlag {
[INFO] [stdout]      |      ---------------------------- `ClientNameRequestUnicodeFlag` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/mod.rs:2655:17
[INFO] [stdout]      |
[INFO] [stdout] 2655 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Clone)]
[INFO] [stdout]      |                 ^------------
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 `FromPrimitive` is not local
[INFO] [stdout]      |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Boolean`
[INFO] [stdout] 2656 | #[repr(u8)]
[INFO] [stdout] 2657 | enum Boolean {
[INFO] [stdout]      |      ------- `Boolean` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/mod.rs:2655:32
[INFO] [stdout]      |
[INFO] [stdout] 2655 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Clone)]
[INFO] [stdout]      |                                ^----------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                `ToPrimitive` is not local
[INFO] [stdout]      |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Boolean`
[INFO] [stdout] 2656 | #[repr(u8)]
[INFO] [stdout] 2657 | enum Boolean {
[INFO] [stdout]      |      ------- `Boolean` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Component`
[INFO] [stdout] 37 | #[allow(non_camel_case_types)]
[INFO] [stdout] 38 | pub enum Component {
[INFO] [stdout]    |          --------- `Component` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:36:32
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Component`
[INFO] [stdout] 37 | #[allow(non_camel_case_types)]
[INFO] [stdout] 38 | pub enum Component {
[INFO] [stdout]    |          --------- `Component` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketId`
[INFO] [stdout] 44 | #[allow(non_camel_case_types)]
[INFO] [stdout] 45 | pub enum PacketId {
[INFO] [stdout]    |          -------- `PacketId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:43:32
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketId`
[INFO] [stdout] 44 | #[allow(non_camel_case_types)]
[INFO] [stdout] 45 | pub enum PacketId {
[INFO] [stdout]    |          -------- `PacketId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CapabilityType`
[INFO] [stdout] 62 | #[allow(non_camel_case_types)]
[INFO] [stdout] 63 | pub enum CapabilityType {
[INFO] [stdout]    |          -------------- `CapabilityType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CapabilityType`
[INFO] [stdout] 62 | #[allow(non_camel_case_types)]
[INFO] [stdout] 63 | pub enum CapabilityType {
[INFO] [stdout]    |          -------------- `CapabilityType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceType`
[INFO] [stdout] 72 | #[allow(non_camel_case_types)]
[INFO] [stdout] 73 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DeviceType`
[INFO] [stdout] 72 | #[allow(non_camel_case_types)]
[INFO] [stdout] 73 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Clone)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MajorFunction`
[INFO] [stdout] 83 | #[allow(non_camel_case_types)]
[INFO] [stdout] 84 | pub enum MajorFunction {
[INFO] [stdout]    |          ------------- `MajorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:82:32
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Clone)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MajorFunction`
[INFO] [stdout] 83 | #[allow(non_camel_case_types)]
[INFO] [stdout] 84 | pub enum MajorFunction {
[INFO] [stdout]    |          ------------- `MajorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout]  98 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MinorFunction`
[INFO] [stdout]  99 | #[allow(non_camel_case_types)]
[INFO] [stdout] 100 | pub enum MinorFunction {
[INFO] [stdout]     |          ------------- `MinorFunction` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:98:32
[INFO] [stdout]     |
[INFO] [stdout]  98 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MinorFunction`
[INFO] [stdout]  99 | #[allow(non_camel_case_types)]
[INFO] [stdout] 100 | pub enum MinorFunction {
[INFO] [stdout]     |          ------------- `MinorFunction` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:109:10
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[derive(ToPrimitive, Debug, PartialEq)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `ToPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_NTSTATUS`
[INFO] [stdout] ...
[INFO] [stdout] 113 | pub enum NTSTATUS {
[INFO] [stdout]     |          -------- `NTSTATUS` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:128:10
[INFO] [stdout]     |
[INFO] [stdout] 128 | #[derive(FromPrimitive, Debug, PartialEq, Clone)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FileInformationClassLevel`
[INFO] [stdout] ...
[INFO] [stdout] 131 | pub enum FileInformationClassLevel {
[INFO] [stdout]     |          ------------------------- `FileInformationClassLevel` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:183:10
[INFO] [stdout]     |
[INFO] [stdout] 183 | #[derive(FromPrimitive, Debug, PartialEq)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FileSystemInformationClassLevel`
[INFO] [stdout] ...
[INFO] [stdout] 186 | pub enum FileSystemInformationClassLevel {
[INFO] [stdout]     |          ------------------------------- `FileSystemInformationClassLevel` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoctlCode`
[INFO] [stdout] 331 | #[allow(non_camel_case_types)]
[INFO] [stdout] 332 | enum IoctlCode {
[INFO] [stdout]     |      --------- `IoctlCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:330:32
[INFO] [stdout]     |
[INFO] [stdout] 330 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IoctlCode`
[INFO] [stdout] 331 | #[allow(non_camel_case_types)]
[INFO] [stdout] 332 | enum IoctlCode {
[INFO] [stdout]     |      --------- `IoctlCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/lib.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     Tcp(IoError),
[INFO] [stdout]     |     --- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConnectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 214 -     Tcp(IoError),
[INFO] [stdout] 214 +     Tcp(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     Rdp(RdpError),
[INFO] [stdout]     |     --- ^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConnectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 215 -     Rdp(RdpError),
[INFO] [stdout] 215 +     Rdp(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:485:17
[INFO] [stdout]     |
[INFO] [stdout] 485 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RPCEEndianness`
[INFO] [stdout] 486 | #[allow(non_camel_case_types)]
[INFO] [stdout] 487 | enum RPCEEndianness {
[INFO] [stdout]     |      -------------- `RPCEEndianness` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormatListResponsePDU` is never constructed
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 753 | struct FormatListResponsePDU {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:485:32
[INFO] [stdout]     |
[INFO] [stdout] 485 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RPCEEndianness`
[INFO] [stdout] 486 | #[allow(non_camel_case_types)]
[INFO] [stdout] 487 | enum RPCEEndianness {
[INFO] [stdout]     |      -------------- `RPCEEndianness` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:532:17
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReturnCode`
[INFO] [stdout] ...
[INFO] [stdout] 535 | enum ReturnCode {
[INFO] [stdout]     |      ---------- `ReturnCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:532:32
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReturnCode`
[INFO] [stdout] ...
[INFO] [stdout] 535 | enum ReturnCode {
[INFO] [stdout]     |      ---------- `ReturnCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:641:17
[INFO] [stdout]     |
[INFO] [stdout] 641 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Scope`
[INFO] [stdout] 642 | #[allow(non_camel_case_types)]
[INFO] [stdout] 643 | enum Scope {
[INFO] [stdout]     |      ----- `Scope` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:641:32
[INFO] [stdout]     |
[INFO] [stdout] 641 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Scope`
[INFO] [stdout] 642 | #[allow(non_camel_case_types)]
[INFO] [stdout] 643 | enum Scope {
[INFO] [stdout]     |      ----- `Scope` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:1313:17
[INFO] [stdout]      |
[INFO] [stdout] 1313 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]      |                 ^------------
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 `FromPrimitive` is not local
[INFO] [stdout]      |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_State`
[INFO] [stdout] 1314 | #[allow(non_camel_case_types)]
[INFO] [stdout] 1315 | enum State {
[INFO] [stdout]      |      ----- `State` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:394:45
[INFO] [stdout]     |
[INFO] [stdout] 394 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ClipboardPDUType`
[INFO] [stdout] 395 | #[allow(non_camel_case_types)]
[INFO] [stdout] 396 | enum ClipboardPDUType {
[INFO] [stdout]     |      ---------------- `ClipboardPDUType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:394:60
[INFO] [stdout]     |
[INFO] [stdout] 394 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                                            ^----------
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            `ToPrimitive` is not local
[INFO] [stdout]     |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClipboardPDUType`
[INFO] [stdout] 395 | #[allow(non_camel_case_types)]
[INFO] [stdout] 396 | enum ClipboardPDUType {
[INFO] [stdout]     |      ---------------- `ClipboardPDUType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:1313:32
[INFO] [stdout]      |
[INFO] [stdout] 1313 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]      |                                ^----------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                `ToPrimitive` is not local
[INFO] [stdout]      |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_State`
[INFO] [stdout] 1314 | #[allow(non_camel_case_types)]
[INFO] [stdout] 1315 | enum State {
[INFO] [stdout]      |      ----- `State` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:724:45
[INFO] [stdout]     |
[INFO] [stdout] 724 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ClipboardFormat`
[INFO] [stdout] 725 | enum ClipboardFormat {
[INFO] [stdout]     |      --------------- `ClipboardFormat` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:724:60
[INFO] [stdout]     |
[INFO] [stdout] 724 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                                            ^----------
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            `ToPrimitive` is not local
[INFO] [stdout]     |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClipboardFormat`
[INFO] [stdout] 725 | enum ClipboardFormat {
[INFO] [stdout]     |      --------------- `ClipboardFormat` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/mod.rs:2067:24
[INFO] [stdout]      |
[INFO] [stdout] 2067 | #[derive(Debug, Clone, ToPrimitive)]
[INFO] [stdout]      |                        ^----------
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        `ToPrimitive` is not local
[INFO] [stdout]      |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClientNameRequestUnicodeFlag`
[INFO] [stdout] ...
[INFO] [stdout] 2071 | enum ClientNameRequestUnicodeFlag {
[INFO] [stdout]      |      ---------------------------- `ClientNameRequestUnicodeFlag` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/mod.rs:2655:17
[INFO] [stdout]      |
[INFO] [stdout] 2655 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Clone)]
[INFO] [stdout]      |                 ^------------
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 `FromPrimitive` is not local
[INFO] [stdout]      |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Boolean`
[INFO] [stdout] 2656 | #[repr(u8)]
[INFO] [stdout] 2657 | enum Boolean {
[INFO] [stdout]      |      ------- `Boolean` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/mod.rs:2655:32
[INFO] [stdout]      |
[INFO] [stdout] 2655 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Clone)]
[INFO] [stdout]      |                                ^----------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                `ToPrimitive` is not local
[INFO] [stdout]      |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Boolean`
[INFO] [stdout] 2656 | #[repr(u8)]
[INFO] [stdout] 2657 | enum Boolean {
[INFO] [stdout]      |      ------- `Boolean` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Component`
[INFO] [stdout] 37 | #[allow(non_camel_case_types)]
[INFO] [stdout] 38 | pub enum Component {
[INFO] [stdout]    |          --------- `Component` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:36:32
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Component`
[INFO] [stdout] 37 | #[allow(non_camel_case_types)]
[INFO] [stdout] 38 | pub enum Component {
[INFO] [stdout]    |          --------- `Component` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketId`
[INFO] [stdout] 44 | #[allow(non_camel_case_types)]
[INFO] [stdout] 45 | pub enum PacketId {
[INFO] [stdout]    |          -------- `PacketId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:43:32
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketId`
[INFO] [stdout] 44 | #[allow(non_camel_case_types)]
[INFO] [stdout] 45 | pub enum PacketId {
[INFO] [stdout]    |          -------- `PacketId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CapabilityType`
[INFO] [stdout] 62 | #[allow(non_camel_case_types)]
[INFO] [stdout] 63 | pub enum CapabilityType {
[INFO] [stdout]    |          -------------- `CapabilityType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CapabilityType`
[INFO] [stdout] 62 | #[allow(non_camel_case_types)]
[INFO] [stdout] 63 | pub enum CapabilityType {
[INFO] [stdout]    |          -------------- `CapabilityType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceType`
[INFO] [stdout] 72 | #[allow(non_camel_case_types)]
[INFO] [stdout] 73 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DeviceType`
[INFO] [stdout] 72 | #[allow(non_camel_case_types)]
[INFO] [stdout] 73 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Clone)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MajorFunction`
[INFO] [stdout] 83 | #[allow(non_camel_case_types)]
[INFO] [stdout] 84 | pub enum MajorFunction {
[INFO] [stdout]    |          ------------- `MajorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:82:32
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Clone)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MajorFunction`
[INFO] [stdout] 83 | #[allow(non_camel_case_types)]
[INFO] [stdout] 84 | pub enum MajorFunction {
[INFO] [stdout]    |          ------------- `MajorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout]  98 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MinorFunction`
[INFO] [stdout]  99 | #[allow(non_camel_case_types)]
[INFO] [stdout] 100 | pub enum MinorFunction {
[INFO] [stdout]     |          ------------- `MinorFunction` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:98:32
[INFO] [stdout]     |
[INFO] [stdout]  98 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MinorFunction`
[INFO] [stdout]  99 | #[allow(non_camel_case_types)]
[INFO] [stdout] 100 | pub enum MinorFunction {
[INFO] [stdout]     |          ------------- `MinorFunction` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:109:10
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[derive(ToPrimitive, Debug, PartialEq)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `ToPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_NTSTATUS`
[INFO] [stdout] ...
[INFO] [stdout] 113 | pub enum NTSTATUS {
[INFO] [stdout]     |          -------- `NTSTATUS` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:128:10
[INFO] [stdout]     |
[INFO] [stdout] 128 | #[derive(FromPrimitive, Debug, PartialEq, Clone)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FileInformationClassLevel`
[INFO] [stdout] ...
[INFO] [stdout] 131 | pub enum FileInformationClassLevel {
[INFO] [stdout]     |          ------------------------- `FileInformationClassLevel` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:183:10
[INFO] [stdout]     |
[INFO] [stdout] 183 | #[derive(FromPrimitive, Debug, PartialEq)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FileSystemInformationClassLevel`
[INFO] [stdout] ...
[INFO] [stdout] 186 | pub enum FileSystemInformationClassLevel {
[INFO] [stdout]     |          ------------------------------- `FileSystemInformationClassLevel` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoctlCode`
[INFO] [stdout] 331 | #[allow(non_camel_case_types)]
[INFO] [stdout] 332 | enum IoctlCode {
[INFO] [stdout]     |      --------- `IoctlCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:330:32
[INFO] [stdout]     |
[INFO] [stdout] 330 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IoctlCode`
[INFO] [stdout] 331 | #[allow(non_camel_case_types)]
[INFO] [stdout] 332 | enum IoctlCode {
[INFO] [stdout]     |      --------- `IoctlCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:485:17
[INFO] [stdout]     |
[INFO] [stdout] 485 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RPCEEndianness`
[INFO] [stdout] 486 | #[allow(non_camel_case_types)]
[INFO] [stdout] 487 | enum RPCEEndianness {
[INFO] [stdout]     |      -------------- `RPCEEndianness` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:485:32
[INFO] [stdout]     |
[INFO] [stdout] 485 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RPCEEndianness`
[INFO] [stdout] 486 | #[allow(non_camel_case_types)]
[INFO] [stdout] 487 | enum RPCEEndianness {
[INFO] [stdout]     |      -------------- `RPCEEndianness` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:532:17
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReturnCode`
[INFO] [stdout] ...
[INFO] [stdout] 535 | enum ReturnCode {
[INFO] [stdout]     |      ---------- `ReturnCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:532:32
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReturnCode`
[INFO] [stdout] ...
[INFO] [stdout] 535 | enum ReturnCode {
[INFO] [stdout]     |      ---------- `ReturnCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:641:17
[INFO] [stdout]     |
[INFO] [stdout] 641 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Scope`
[INFO] [stdout] 642 | #[allow(non_camel_case_types)]
[INFO] [stdout] 643 | enum Scope {
[INFO] [stdout]     |      ----- `Scope` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:641:32
[INFO] [stdout]     |
[INFO] [stdout] 641 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Scope`
[INFO] [stdout] 642 | #[allow(non_camel_case_types)]
[INFO] [stdout] 643 | enum Scope {
[INFO] [stdout]     |      ----- `Scope` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:1313:17
[INFO] [stdout]      |
[INFO] [stdout] 1313 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]      |                 ^------------
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 `FromPrimitive` is not local
[INFO] [stdout]      |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_State`
[INFO] [stdout] 1314 | #[allow(non_camel_case_types)]
[INFO] [stdout] 1315 | enum State {
[INFO] [stdout]      |      ----- `State` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:1313:32
[INFO] [stdout]      |
[INFO] [stdout] 1313 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]      |                                ^----------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                `ToPrimitive` is not local
[INFO] [stdout]      |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_State`
[INFO] [stdout] 1314 | #[allow(non_camel_case_types)]
[INFO] [stdout] 1315 | enum State {
[INFO] [stdout]      |      ----- `State` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating lib/srv/desktop/rdp/rdpclient/Cargo.toml from 2018 edition to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient)
[INFO] [stderr]    Migrating lib/srv/desktop/rdp/rdpclient/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed lib/srv/desktop/rdp/rdpclient/src/lib.rs (36 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.43s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient) updating edition from 2021 to 2024
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient)
[INFO] [stderr] error: failed to run custom build command for `rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient)`
[INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/rdp-client-7259088438762674/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' (2401) panicked at lib/srv/desktop/rdp/rdpclient/build.rs:21:10:
[INFO] [stderr]   called `Result::unwrap()` on an `Err` value: ParseSyntaxError { crate_name: "rdp-client", src_path: "/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient/src/lib.rs", error: Error("expected path") }
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x5b60266d5838 - std[5c0eaf5403f5fa91]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]      1:     0x5b60266d5838 - std[5c0eaf5403f5fa91]::backtrace_rs::backtrace::trace_unsynchronized::<std[5c0eaf5403f5fa91]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]      2:     0x5b60266d5838 - std[5c0eaf5403f5fa91]::sys::backtrace::_print_fmt
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]      3:     0x5b60266d5838 - <<std[5c0eaf5403f5fa91]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[6b4415987d471b61]::fmt::Display>::fmt
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]      4:     0x5b60266eb78a - <core[6b4415987d471b61]::fmt::rt::Argument>::fmt
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]      5:     0x5b60266eb78a - core[6b4415987d471b61]::fmt::write
[INFO] [stderr]      6:     0x5b60266dab02 - std[5c0eaf5403f5fa91]::io::default_write_fmt::<std[5c0eaf5403f5fa91]::sys::stdio::unix::Stderr>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:623:11
[INFO] [stderr]      7:     0x5b60266dab02 - <std[5c0eaf5403f5fa91]::sys::stdio::unix::Stderr as std[5c0eaf5403f5fa91]::io::Write>::write_fmt
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1661:13
[INFO] [stderr]      8:     0x5b60266b7946 - <std[5c0eaf5403f5fa91]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]      9:     0x5b60266b7946 - std[5c0eaf5403f5fa91]::panicking::default_hook::{closure#0}
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:292:27
[INFO] [stderr]     10:     0x5b60266d0351 - std[5c0eaf5403f5fa91]::panicking::default_hook
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:319:9
[INFO] [stderr]     11:     0x5b60266d05cb - std[5c0eaf5403f5fa91]::panicking::panic_with_hook
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:814:13
[INFO] [stderr]     12:     0x5b60266b7a02 - std[5c0eaf5403f5fa91]::panicking::panic_handler::{closure#0}
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:687:13
[INFO] [stderr]     13:     0x5b60266aca89 - std[5c0eaf5403f5fa91]::sys::backtrace::__rust_end_short_backtrace::<std[5c0eaf5403f5fa91]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]     14:     0x5b60266b82ed - __rustc[33ffaff69ac0afe3]::rust_begin_unwind
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:678:5
[INFO] [stderr]     15:     0x5b60266ec03c - core[6b4415987d471b61]::panicking::panic_fmt
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/panicking.rs:80:14
[INFO] [stderr]     16:     0x5b60266ebd82 - core[6b4415987d471b61]::result::unwrap_failed
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/result.rs:1870:5
[INFO] [stderr]     17:     0x5b60263e2df9 - build_script_build[1868e32552fa1163]::main
[INFO] [stderr]     18:     0x5b60263de223 - <fn() as core[6b4415987d471b61]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]     19:     0x5b60263e0df6 - std[5c0eaf5403f5fa91]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stderr]     20:     0x5b60263dc359 - std[5c0eaf5403f5fa91]::rt::lang_start::<()>::{closure#0}
[INFO] [stderr]     21:     0x5b60266cf647 - <&dyn core[6b4415987d471b61]::ops::function::Fn<(), Output = i32> + core[6b4415987d471b61]::panic::unwind_safe::RefUnwindSafe + core[6b4415987d471b61]::marker::Sync as core[6b4415987d471b61]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/function.rs:287:21
[INFO] [stderr]     22:     0x5b60266cf647 - std[5c0eaf5403f5fa91]::panicking::catch_unwind::do_call::<&dyn core[6b4415987d471b61]::ops::function::Fn<(), Output = i32> + core[6b4415987d471b61]::panic::unwind_safe::RefUnwindSafe + core[6b4415987d471b61]::marker::Sync, i32>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:575:43
[INFO] [stderr]     23:     0x5b60266cf647 - std[5c0eaf5403f5fa91]::panicking::catch_unwind::<i32, &dyn core[6b4415987d471b61]::ops::function::Fn<(), Output = i32> + core[6b4415987d471b61]::panic::unwind_safe::RefUnwindSafe + core[6b4415987d471b61]::marker::Sync>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:543:19
[INFO] [stderr]     24:     0x5b60266cf647 - std[5c0eaf5403f5fa91]::panic::catch_unwind::<&dyn core[6b4415987d471b61]::ops::function::Fn<(), Output = i32> + core[6b4415987d471b61]::panic::unwind_safe::RefUnwindSafe + core[6b4415987d471b61]::marker::Sync, i32>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panic.rs:359:14
[INFO] [stderr]     25:     0x5b60266cf647 - std[5c0eaf5403f5fa91]::rt::lang_start_internal::{closure#0}
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/rt.rs:175:24
[INFO] [stderr]     26:     0x5b60266cf647 - std[5c0eaf5403f5fa91]::panicking::catch_unwind::do_call::<std[5c0eaf5403f5fa91]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:575:43
[INFO] [stderr]     27:     0x5b60266cf647 - std[5c0eaf5403f5fa91]::panicking::catch_unwind::<isize, std[5c0eaf5403f5fa91]::rt::lang_start_internal::{closure#0}>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panicking.rs:543:19
[INFO] [stderr]     28:     0x5b60266cf647 - std[5c0eaf5403f5fa91]::panic::catch_unwind::<std[5c0eaf5403f5fa91]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/panic.rs:359:14
[INFO] [stderr]     29:     0x5b60266cf647 - std[5c0eaf5403f5fa91]::rt::lang_start_internal
[INFO] [stderr]                                  at /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/rt.rs:171:5
[INFO] [stderr]     30:     0x5b60263d9f11 - std[5c0eaf5403f5fa91]::rt::lang_start::<()>
[INFO] [stderr]     31:     0x5b60263e4735 - main
[INFO] [stderr]     32:     0x7bf1124ff1ca - <unknown>
[INFO] [stderr]     33:     0x7bf1124ff28b - __libc_start_main
[INFO] [stderr]     34:     0x5b60263cc085 - _start
[INFO] [stderr]     35:                0x0 - <unknown>
[INFO] running `Command { std: "docker" "inspect" "062a58f2ab2f8e9cba4e374e42685a89f57efd038c04dfb34a95f70a5c321a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "062a58f2ab2f8e9cba4e374e42685a89f57efd038c04dfb34a95f70a5c321a23", kill_on_drop: false }`
[INFO] [stdout] 062a58f2ab2f8e9cba4e374e42685a89f57efd038c04dfb34a95f70a5c321a23
